#ifndef KALMANFILTER_H
#define KALMANFILTER_H

#include "opencv/cv.h"
#include "opencv/cxcore.h"
#include "opencv/highgui.h"


using namespace std;
using namespace cv;

using namespace cv;


class kalmanFilter
{
public:
    kalmanFilter(float x);
    kalmanFilter(float x, float R);
    kalmanFilter(float x, float R, float qd);

    float kalmanFilt(float z, int t);
    float kalmanFilt(float z, int t, float R);

private:
    Mat Q;
    float R;
    Mat P;
    Mat x;
};






#endif // KALMANFILTER_H
